import Mock from "./mock-min.js"  // 导入mock

// 天气
Mock.mock("/admin/weater/getWeaterInfo", "get", {
    "code": 0,
    "msg": null,
    "data": {
        "city": "临沂",
        "cityid": "101120901",
        "isRadar": "1",
        "njd": "暂无实况",
        "sm": "2.9",
        "temp": "21",
        "time": "17:50",
        "ws": "小于3级",
        "radar": "JC_RADAR_AZ9539_JB",
        "ap": "1001hPa",
        "sd": "54%",
        "wse": "<3",
        "wd": "东北风"
    }
})
// AI消防
Mock.mock("/device/deviceAlarmDispose/getAllDeviceAlarmDisposeInfo", "get", {
    "code": 0,
    "msg": null,
    "data": {
        "testNumber": 0,
        "fireAlarmNumber": 0,
        "falseAlarmNumber": 0,
        "alarmNum": 0,
        "isHandle": null,
        "hasDealNum": 293,
        "unDealNum": 20
    }
})
// 设备详情
Mock.mock("/device/overviewHome/getDeviceStatusNum", "get", {
    "code": 0,
    "msg": null,
    "data": {
        "normalNum": 74,
        "faultNum": 2,
        "alarmNum": 1,
        "offlineNum": 26,
        "unStartNum": 0,
        "totalNum": 103,
        "intactRate": "71.84%"
    }
})
// 设施
Mock.mock("/daily/largeScreen/getFacilityDetail", "get", {
    "code": 0,
    "msg": null,
    "data": {
        "facilityCountRatioRes": {
            "count": 74,
            "normalCount": 71,
            "abnormalCount": 3,
            "normalRatio": "95.95%",
            "abnormalRatio": "4.05%"
        },
        "facilityTypeAndNumResList": [
            {
                "id": 82,
                "facilityName": "手动火灾报警按钮",
                "count": 19,
                "ratio": "25.68%"
            },
            {
                "id": 84,
                "facilityName": "消防通道指示牌",
                "count": 12,
                "ratio": "16.22%"
            },
            {
                "id": 85,
                "facilityName": "储存装置",
                "count": 7,
                "ratio": "9.46%"
            },
            {
                "id": 89,
                "facilityName": "阀门",
                "count": 7,
                "ratio": "9.46%"
            },
            {
                "id": 86,
                "facilityName": "金属软管",
                "count": 6,
                "ratio": "8.11%"
            },
            {
                "id": 83,
                "facilityName": "消防门设施",
                "count": 5,
                "ratio": "6.76%"
            },
            {
                "id": 90,
                "facilityName": "气压罐",
                "count": 3,
                "ratio": "4.05%"
            },
            {
                "id": 88,
                "facilityName": "泡沫液储罐",
                "count": 3,
                "ratio": "4.05%"
            },
            {
                "id": 87,
                "facilityName": "室内消火栓",
                "count": 3,
                "ratio": "4.05%"
            },
            {
                "id": 93,
                "facilityName": "测试类型",
                "count": 2,
                "ratio": "2.70%"
            },
            {
                "id": 110,
                "facilityName": "test20210607",
                "count": 2,
                "ratio": "2.70%"
            },
            {
                "id": 91,
                "facilityName": "水流指示器",
                "count": 2,
                "ratio": "2.70%"
            },
            {
                "id": 95,
                "facilityName": "xj添加的设施类型门磁和电气火灾",
                "count": 2,
                "ratio": "2.70%"
            },
            {
                "id": 94,
                "facilityName": "超管测试设施类型",
                "count": 1,
                "ratio": "1.35%"
            }
        ]
    }
})
// 实时报警
Mock.mock("/device/deviceAlarmDispose/listDeviceAlarmDispose", "get", {
    "code": 0,
    "msg": null,
    "data": {
        "total": 222,
        "list": [
            {
                "deptName": "测试筛选",
                "deptId": 958,
                "deptAddress": null,
                "code": "23534647722",
                "system": "fc_system_wxgy",
                "systemName": "无线感烟",
                "addressDesc": "8楼",
                "status": 1,
                "alarmReason": "烟雾浓度大(烟雾度: 报警)",
                "alarmTime": "2021-09-14 16:18:52",
                "confirmUserId": null,
                "confirmUserName": null,
                "confirmTime": null,
                "alarmType": null,
                "deviceId": 18726,
                "messageId": 22507,
                "isHandle": 0,
                "buildId": 145,
                "floor": 8,
                "deviceTypeName": "无线复合式感温感烟报警器",
                "userList": null,
                "isDeviceFault": null,
                "disposeSuggest": null,
                "disposeMethod": null,
                "isSilence": null,
                "disposeContent": null,
                "pointData": "烟雾度: 报警",
                "alarmNumber": 0,
                "faultNumber": 0,
                "videoId": null,
                "buildName": "测试",
                "deviceStatus": 1,
                "actNodeCode": null,
                "mark": "",
                "deviceModel": "20"
            },
            {
                "deptName": "测试筛选",
                "deptId": 958,
                "deptAddress": null,
                "code": "23534647722",
                "system": "fc_system_wxgy",
                "systemName": "无线感烟1",
                "addressDesc": "81楼",
                "status": 1,
                "alarmReason": "烟雾浓度大(烟雾度: 报警)1",
                "alarmTime": "2021-09-14 16:18:52",
                "confirmUserId": null,
                "confirmUserName": null,
                "confirmTime": null,
                "alarmType": null,
                "deviceId": 18726,
                "messageId": 22507,
                "isHandle": 0,
                "buildId": 145,
                "floor": 8,
                "deviceTypeName": "无线复合式感温感烟报警器1",
                "userList": null,
                "isDeviceFault": null,
                "disposeSuggest": null,
                "disposeMethod": null,
                "isSilence": null,
                "disposeContent": null,
                "pointData": "烟雾度: 报警1",
                "alarmNumber": 0,
                "faultNumber": 0,
                "videoId": null,
                "buildName": "测试",
                "deviceStatus": 1,
                "actNodeCode": null,
                "mark": "",
                "deviceModel": "20"
            },
            {
                "deptName": "测试筛选",
                "deptId": 958,
                "deptAddress": null,
                "code": "23534647722",
                "system": "fc_system_wxgy",
                "systemName": "无线感烟1",
                "addressDesc": "81楼",
                "status": 1,
                "alarmReason": "烟雾浓度大(烟雾度: 报警)333",
                "alarmTime": "2021-09-14 16:18:52",
                "confirmUserId": null,
                "confirmUserName": null,
                "confirmTime": null,
                "alarmType": null,
                "deviceId": 18726,
                "messageId": 22507,
                "isHandle": 0,
                "buildId": 147,
                "floor": 8,
                "deviceTypeName": "无线复合式感温感烟报警器1",
                "userList": null,
                "isDeviceFault": null,
                "disposeSuggest": null,
                "disposeMethod": null,
                "isSilence": null,
                "disposeContent": null,
                "pointData": "烟雾度: 报警1",
                "alarmNumber": 0,
                "faultNumber": 0,
                "videoId": null,
                "buildName": "测试",
                "deviceStatus": 1,
                "actNodeCode": null,
                "mark": "",
                "deviceModel": "20"
            }
        ],
        "pageNum": 1,
        "pageSize": 20,
        "size": 20,
        "startRow": 1,
        "endRow": 20,
        "pages": 12,
        "prePage": 0,
        "nextPage": 2,
        "isFirstPage": true,
        "isLastPage": false,
        "hasPreviousPage": false,
        "hasNextPage": true,
        "navigatePages": 8,
        "navigatepageNums": [
            1,
            2,
            3,
            4,
            5,
            6,
            7,
            8
        ],
        "navigateFirstPage": 1,
        "navigateLastPage": 8
    }
})
// 报警趋势
Mock.mock("/device/statisticsApp/alarmStatistics", "get", {
    "code": 0,
    "msg": null,
    "data": {
        "statisticsTimeList": [
            "2021-09-07",
            "2021-09-08",
            "2021-09-09",
            "2021-09-10",
            "2021-09-11",
            "2021-09-12",
            "2021-09-13"
        ],
        "faultNumberList": [140, 232, 101, 264, 90, 340, 250],
        "alarmNumberList": [120, 100, 111, 234, 220, 100, 200],
        "offlineNumberList": [320, 132, 201, 334, 190, 130, 220]
    }
})
// 建筑物设施
Mock.mock("/daily/facility/countFacility", "get", {
    "code": "0",
    "msg": "cv^",
    "data": [
        {
            "count": "20",
            "status": "1"
        }, {
            "count": "30",
            "status": "2"
        },
    ]
})
// 物联网设备
Mock.mock("/device/device/countVideoAndDevice", "get", {
    "code": 0,
    "msg": null,
    "data": [
        {
            "statusName": null,
            "status": null,
            "deviceCount": 32,
            "deviceType": "1",
            "deviceTypeName": "LoRa无线组合式电气火灾探测器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 18,
            "deviceType": "24",
            "deviceTypeName": "LoRa无线智能消火栓监测器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 12,
            "deviceType": "25",
            "deviceTypeName": "NB-IoT智能消火栓监测器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 125,
            "deviceType": "29",
            "deviceTypeName": "无线复合式感温感烟报警器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 6,
            "deviceType": "38",
            "deviceTypeName": "lora门磁"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 8,
            "deviceType": "39",
            "deviceTypeName": "智能充电桩"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 12,
            "deviceType": "43",
            "deviceTypeName": "NB-IoT无线组合式电气火灾探测器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 11,
            "deviceType": "47",
            "deviceTypeName": "用户信息传输装置"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 9,
            "deviceType": "53",
            "deviceTypeName": "LoRa无线压力监测器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 45,
            "deviceType": "164",
            "deviceTypeName": "NB-智慧烟感报警器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 5,
            "deviceType": "165",
            "deviceTypeName": "GPRS-智慧气感报警器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 16,
            "deviceType": "166",
            "deviceTypeName": "4G智慧用电检测器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 17,
            "deviceType": "175",
            "deviceTypeName": "LoRa无线复合式感温感烟报警器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 6,
            "deviceType": "179",
            "deviceTypeName": "三火4G控制器"
        },
        {
            "statusName": null,
            "status": null,
            "deviceCount": 7,
            "deviceType": "193",
            "deviceTypeName": "4路远程控制器"
        }
    ]
})
// 建筑详情
Mock.mock("/device/building/findById", "get", {
    "code": 0,
    "msg": null,
    "data": {
        "buildingId": 117,
        "buildingName": "建筑物1",
        "sort": 1,
        "buildingAddress": "山东省泰安市泰山区泰前街道黄石崖泰山风景名胜区",
        "provinceCode": "150000",
        "cityCode": "150200",
        "areaCode": "150206",
        "wayCode": "-4754",
        "provinceName": "内蒙古自治区",
        "cityName": "包头市",
        "areaName": "白云鄂博矿区",
        "wayName": "通阳道街道",
        "buildingTime": null,
        "completionTime": null,
        "detailedAddress": null,
        "roadName": null,
        "regionCode": "150000",
        "streetCode": null,
        "houseCode": null,
        "latLud": "117.102321,36.288657",
        "floorName": null,
        "buildingHeight": "5",
        "buildingArea": "110.00",
        "buildingClassification": "building_classification_01",
        "buildingStructure": "building_structure_03",
        "buildingStrname": null,
        "fireResistance": "fire_resistance_01",
        "hazardLevel": "hazard_level_01",
        "firecontrolRoom": "0",
        "firecontrolAddress": null,
        "buildingRight": "1",
        "buildingUse": null,
        "propertyRight": "property_right_01",
        "areaCovered": "",
        "areaStandard": null,
        "underNumber": 0,
        "underArea": null,
        "onNumber": 5,
        "onArea": null,
        "refugeNumber": 0,
        "refugeArea": "10.11",
        "refugeAddress": null,
        "fireElevator": null,
        "fireAddress": null,
        "checkFunction": null,
        "maxNumber": null,
        "automaticFire": null,
        "facilitiesGood": "1",
        "facilitiesFire": null,
        "adjacentBuilding": null,
        "geography": "",
        "tenantId": 98,
        "createTime": null,
        "updateTime": "2021-09-25 14:49:09",
        "delFlag": "0",
        "deptId": 460,
        "name": null,
        "deviceNum": null,
        "alarmNum": null,
        "faultNum": null,
        "safeUser": "安全责任人",
        "safeUserPhone": "13813813888",
        "modelCode": "c14a"
    }
})
// 设备概括
Mock.mock("/device/device/countByBuildId", "get", {
    "code": 0,
    "msg": null,
    "data": [
        {
            "statusName": "未启用",
            "status": -1,
            "deviceCount": 4,
            "deviceType": null,
            "deviceTypeName": null
        },
        {
            "statusName": "故障",
            "status": 0,
            "deviceCount": 1,
            "deviceType": null,
            "deviceTypeName": null
        },
        {
            "statusName": "报警",
            "status": 1,
            "deviceCount": 2,
            "deviceType": null,
            "deviceTypeName": null
        },
        {
            "statusName": "正常",
            "status": 2,
            "deviceCount": 8,
            "deviceType": null,
            "deviceTypeName": null
        },
        {
            "statusName": "离线",
            "status": 4,
            "deviceCount": 11,
            "deviceType": null,
            "deviceTypeName": null
        }
    ]
})
// 全部设备
Mock.mock("/device/deviceType/listDeviceTypeByBuild", "get", {
    "code": 0,
    "msg": null,
    "data": [
        {
            "id": 1,
            "name": "LoRa无线组合式电气火灾探测器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 24,
            "name": "LoRa无线智能消火栓监测器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 25,
            "name": "NB-IoT智能消火栓监测器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 29,
            "name": "无线复合式感温感烟报警器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 37,
            "name": "燃气泄漏报警器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 38,
            "name": "lora门磁",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 39,
            "name": "智能充电桩",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 43,
            "name": "NB-IoT无线组合式电气火灾探测器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 47,
            "name": "用户信息传输装置",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 53,
            "name": "LoRa无线压力监测器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 164,
            "name": "NB-智慧烟感报警器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 165,
            "name": "GPRS-智慧气感报警器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 166,
            "name": "4G智慧用电检测器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 167,
            "name": "NB-IoT无线电源监测控制终端",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 175,
            "name": "LoRa无线复合式感温感烟报警器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 179,
            "name": "三火4G控制器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 192,
            "name": "电源控制器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 193,
            "name": "4路远程控制器",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 205,
            "name": "测试123",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        },
        {
            "id": 214,
            "name": "测试zmy",
            "fcSystemCode": null,
            "createTime": null,
            "delFlag": null,
            "fcSystemName": null,
            "count": 0,
            "type": null,
            "devicePercent": null
        }
    ]
})
// 设备列表
Mock.mock("/device/device/listDeviceDetailInfo", "get", {
    "code": 0, "msg": null, "data": {
        "total": 4, "list": [{ "id": 4184, "system": "fc_system_krqt", "systemName": null, "code": "860190059256212", "mainEngine": null, "mainEngineName": null, "address": null, "loopBack": null, "manufacturer": 13, "manufacturerName": "图灵云", "deviceType": 51, "deviceTypeName": "NB-IOT可燃气体探测器", "deviceModel": 42, "deviceModelName": "GS894-C", "buildId": 171, "buildName": "餐厅", "floor": 1, "addressDesc": "3", "model": null, "deptId": 270, "deptName": null, "tenantId": 38, "createTime": "2021-08-16 12:20:29", "delFlag": "0", "status": 2, "mark": null, "pushScopeId": null, "unit": null, "alarmValue": null, "pointName": null, "lastUploadTime": null, "pointDataResList": null, "messageLogId": null, "pointData": null, "videoIdList": null, "videoId": null, "videoName": null, "userList": null, "deptAllUserList": null, "deviceTypes": null, "alarmReason": null, "communicationCardNum": null, "commandFlag": false, "isLinkage": false, "picUrlList": null, "deviceModelCommandId": null, "commandId": null, "deviceList": null, "deviceCommandDescList": null, "deviceCommandDescId": null, "deviceCommandAliasName": null, "devicePointList": [{ "id": 65, "deviceTypeIds": "42,51", "pointName": "温度", "pointCode": "XTEMP", "unit": "℃", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:11:41", "delFlag": 0, "lastAlarmInfo": "0", "thresholdValue": null, "highThresholdValue": null }, { "id": 66, "deviceTypeIds": "42,51", "pointName": "湿度", "pointCode": "HUM", "unit": "%", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:11:58", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 67, "deviceTypeIds": "42,51", "pointName": "PM1.0", "pointCode": "PM1_0", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:14:27", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 68, "deviceTypeIds": "42,51", "pointName": "PM2.5", "pointCode": "PM2_5", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:19", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 69, "deviceTypeIds": "42,51", "pointName": "PM10", "pointCode": "PM10", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:39", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 70, "deviceTypeIds": "42,51", "pointName": "异味", "pointCode": "VOC", "unit": " ", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:59", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 119, "deviceTypeIds": "1,21,24,25,28,29,35,36,37,38,40,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,61,159,167,168,169,175,166,170,176,179,180,190,191,196,192,193,197,198,201,202,203,204,194,205,208,206,71", "pointName": "是否在线", "pointCode": "OFFLINE", "unit": " ", "pointType": 2, "pointDesc": " {\"1\":\"报警\",\"2\":\"正常\",\"0\":\"故障\",\"4\":\"离线\"}", "createTime": "2020-11-19 11:38:18", "delFlag": 0, "lastAlarmInfo": "在线", "thresholdValue": null, "highThresholdValue": null }], "buildLatLud": null }, { "id": 4185, "system": "fc_system_krqt", "systemName": null, "code": "860190059299048", "mainEngine": null, "mainEngineName": null, "address": null, "loopBack": null, "manufacturer": 13, "manufacturerName": "图灵云", "deviceType": 51, "deviceTypeName": "NB-IOT可燃气体探测器", "deviceModel": 42, "deviceModelName": "GS894-C", "buildId": 171, "buildName": "餐厅", "floor": 1, "addressDesc": "4", "model": null, "deptId": 270, "deptName": null, "tenantId": 38, "createTime": "2021-08-16 12:20:29", "delFlag": "0", "status": 2, "mark": null, "pushScopeId": null, "unit": null, "alarmValue": null, "pointName": null, "lastUploadTime": null, "pointDataResList": null, "messageLogId": null, "pointData": null, "videoIdList": null, "videoId": null, "videoName": null, "userList": null, "deptAllUserList": null, "deviceTypes": null, "alarmReason": null, "communicationCardNum": null, "commandFlag": false, "isLinkage": false, "picUrlList": null, "deviceModelCommandId": null, "commandId": null, "deviceList": null, "deviceCommandDescList": null, "deviceCommandDescId": null, "deviceCommandAliasName": null, "devicePointList": [{ "id": 65, "deviceTypeIds": "42,51", "pointName": "温度", "pointCode": "XTEMP", "unit": "℃", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:11:41", "delFlag": 0, "lastAlarmInfo": "0", "thresholdValue": null, "highThresholdValue": null }, { "id": 66, "deviceTypeIds": "42,51", "pointName": "湿度", "pointCode": "HUM", "unit": "%", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:11:58", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 67, "deviceTypeIds": "42,51", "pointName": "PM1.0", "pointCode": "PM1_0", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:14:27", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 68, "deviceTypeIds": "42,51", "pointName": "PM2.5", "pointCode": "PM2_5", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:19", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 69, "deviceTypeIds": "42,51", "pointName": "PM10", "pointCode": "PM10", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:39", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 70, "deviceTypeIds": "42,51", "pointName": "异味", "pointCode": "VOC", "unit": " ", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:59", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 119, "deviceTypeIds": "1,21,24,25,28,29,35,36,37,38,40,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,61,159,167,168,169,175,166,170,176,179,180,190,191,196,192,193,197,198,201,202,203,204,194,205,208,206,71", "pointName": "是否在线", "pointCode": "OFFLINE", "unit": " ", "pointType": 2, "pointDesc": " {\"1\":\"报警\",\"2\":\"正常\",\"0\":\"故障\",\"4\":\"离线\"}", "createTime": "2020-11-19 11:38:18", "delFlag": 0, "lastAlarmInfo": "在线", "thresholdValue": null, "highThresholdValue": null }], "buildLatLud": null }, { "id": 4182, "system": "fc_system_krqt", "systemName": null, "code": "860190059303477", "mainEngine": null, "mainEngineName": null, "address": null, "loopBack": null, "manufacturer": 13, "manufacturerName": "图灵云", "deviceType": 51, "deviceTypeName": "NB-IOT可燃气体探测器", "deviceModel": 42, "deviceModelName": "GS894-C", "buildId": 171, "buildName": "餐厅", "floor": 1, "addressDesc": "1", "model": null, "deptId": 270, "deptName": null, "tenantId": 38, "createTime": "2021-08-16 12:20:29", "delFlag": "0", "status": 2, "mark": null, "pushScopeId": null, "unit": null, "alarmValue": null, "pointName": null, "lastUploadTime": null, "pointDataResList": null, "messageLogId": null, "pointData": null, "videoIdList": null, "videoId": null, "videoName": null, "userList": null, "deptAllUserList": null, "deviceTypes": null, "alarmReason": null, "communicationCardNum": null, "commandFlag": false, "isLinkage": false, "picUrlList": null, "deviceModelCommandId": null, "commandId": null, "deviceList": null, "deviceCommandDescList": null, "deviceCommandDescId": null, "deviceCommandAliasName": null, "devicePointList": [{ "id": 65, "deviceTypeIds": "42,51", "pointName": "温度", "pointCode": "XTEMP", "unit": "℃", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:11:41", "delFlag": 0, "lastAlarmInfo": "0", "thresholdValue": null, "highThresholdValue": null }, { "id": 66, "deviceTypeIds": "42,51", "pointName": "湿度", "pointCode": "HUM", "unit": "%", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:11:58", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 67, "deviceTypeIds": "42,51", "pointName": "PM1.0", "pointCode": "PM1_0", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:14:27", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 68, "deviceTypeIds": "42,51", "pointName": "PM2.5", "pointCode": "PM2_5", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:19", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 69, "deviceTypeIds": "42,51", "pointName": "PM10", "pointCode": "PM10", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:39", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 70, "deviceTypeIds": "42,51", "pointName": "异味", "pointCode": "VOC", "unit": " ", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:59", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 119, "deviceTypeIds": "1,21,24,25,28,29,35,36,37,38,40,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,61,159,167,168,169,175,166,170,176,179,180,190,191,196,192,193,197,198,201,202,203,204,194,205,208,206,71", "pointName": "是否在线", "pointCode": "OFFLINE", "unit": " ", "pointType": 2, "pointDesc": " {\"1\":\"报警\",\"2\":\"正常\",\"0\":\"故障\",\"4\":\"离线\"}", "createTime": "2020-11-19 11:38:18", "delFlag": 0, "lastAlarmInfo": "在线", "thresholdValue": null, "highThresholdValue": null }], "buildLatLud": null }, {
            "id": 4183, "system": "fc_system_krqt", "systemName": null, "code": "860190059599975", "mainEngine": null, "mainEngineName": null, "address": null, "loopBack": null, "manufacturer": 13, "manufacturerName": "图灵云", "deviceType": 51, "deviceTypeName": "NB-IOT可燃气体探测器", "deviceModel": 42, "deviceModelName": "GS894-C", "buildId": 171, "buildName": "餐厅", "floor": 1, "addressDesc": "2",
            "model": null, "deptId": 270, "deptName": null, "tenantId": 38, "createTime": "2021-08-16 12:20:29", "delFlag": "0", "status": 2, "mark": null, "pushScopeId": null, "unit": null, "alarmValue": null, "pointName": null, "lastUploadTime": null, "pointDataResList": null, "messageLogId": null, "pointData": null, "videoIdList": null, "videoId": null, "videoName": null, "userList": null, "deptAllUserList": null, "deviceTypes": null, "alarmReason": null, "communicationCardNum": null, "commandFlag": false, "isLinkage": false, "picUrlList": null, "deviceModelCommandId": null, "commandId": null, "deviceList": null, "deviceCommandDescList": null, "deviceCommandDescId": null, "deviceCommandAliasName": null, "devicePointList": [{ "id": 65, "deviceTypeIds": "42,51", "pointName": "温度", "pointCode": "XTEMP", "unit": "℃", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:11:41", "delFlag": 0, "lastAlarmInfo": "0", "thresholdValue": null, "highThresholdValue": null }, { "id": 66, "deviceTypeIds": "42,51", "pointName": "湿度", "pointCode": "HUM", "unit": "%", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:11:58", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 67, "deviceTypeIds": "42,51", "pointName": "PM1.0", "pointCode": "PM1_0", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:14:27", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 68, "deviceTypeIds": "42,51", "pointName": "PM2.5", "pointCode": "PM2_5", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:19", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 69, "deviceTypeIds": "42,51", "pointName": "PM10", "pointCode": "PM10", "unit": "μg/m3", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:39", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 70, "deviceTypeIds": "42,51", "pointName": "异味", "pointCode": "VOC", "unit": " ", "pointType": 1, "pointDesc": null, "createTime": "2020-10-27 15:15:59", "delFlag": 0, "lastAlarmInfo": null, "thresholdValue": null, "highThresholdValue": null }, { "id": 119, "deviceTypeIds": "1,21,24,25,28,29,35,36,37,38,40,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,61,159,167,168,169,175,166,170,176,179,180,190,191,196,192,193,197,198,201,202,203,204,194,205,208,206,71", "pointName": "是否在线", "pointCode": "OFFLINE", "unit": " ", "pointType": 2, "pointDesc": " {\"1\":\"报警\",\"2\":\"正常\",\"0\":\"故障\",\"4\":\"离线\"}", "createTime": "2020-11-19 11:38:18", "delFlag": 0, "lastAlarmInfo": "在线", "thresholdValue": null, "highThresholdValue": null }], "buildLatLud": null
        }], "pageNum": 1, "pageSize": 999, "size": 4, "startRow": 1, "endRow": 4, "pages": 1, "prePage": 0, "nextPage": 0, "isFirstPage": true, "isLastPage": true, "hasPreviousPage": false, "hasNextPage": false, "navigatePages": 8, "navigatepageNums": [1], "navigateFirstPage": 1, "navigateLastPage": 1
    }
})
// 全部设施
Mock.mock('/daily/facility/lisUseFacilityTypeList','get',{
        "code": 0,
        "msg": null,
        "data": [
            {
                "id": 82,
                "facilityName": "手动火灾报警按钮",
                "delFlag": null
            },
            {
                "id": 83,
                "facilityName": "消防门设施",
                "delFlag": null
            },
            {
                "id": 84,
                "facilityName": "消防通道指示牌",
                "delFlag": null
            },
            {
                "id": 85,
                "facilityName": "储存装置",
                "delFlag": null
            },
            {
                "id": 86,
                "facilityName": "金属软管",
                "delFlag": null
            },
            {
                "id": 87,
                "facilityName": "室内消火栓",
                "delFlag": null
            },
            {
                "id": 88,
                "facilityName": "泡沫液储罐",
                "delFlag": null
            },
            {
                "id": 89,
                "facilityName": "阀门",
                "delFlag": null
            },
            {
                "id": 90,
                "facilityName": "气压罐",
                "delFlag": null
            },
            {
                "id": 91,
                "facilityName": "水流指示器",
                "delFlag": null
            },
            {
                "id": 93,
                "facilityName": "测试类型",
                "delFlag": null
            },
            {
                "id": 94,
                "facilityName": "超管测试设施类型",
                "delFlag": null
            },
            {
                "id": 95,
                "facilityName": "xj添加的设施类型门磁和电气火灾",
                "delFlag": null
            },
            {
                "id": 96,
                "facilityName": "测试类型1",
                "delFlag": null
            },
            {
                "id": 110,
                "facilityName": "test20210607",
                "delFlag": null
            },
            {
                "id": 112,
                "facilityName": "测试类型2",
                "delFlag": null
            }
        ]
    })
// 设施列表
Mock.mock('/daily/facility/page','get',{
        "code": 0,
        "msg": null,
        "data": {
            "total": 67,
            "list": [
                {
                    "id": 1366,
                    "deptId": 460,
                    "deptName": "一般单位1",
                    "buildingId": 124,
                    "buildingName": null,
                    "inoutFlag": "1",
                    "status": "1",
                    "statusName": "正常",
                    "facilityNo": "SC20210708600649",
                    "facilityTypeId": 86,
                    "facilityName": "金属软管",
                    "facilityFloor": "-8",
                    "longitude": null,
                    "locationDesc": "大教室",
                    "facilitySpecNum": "1",
                    "facilityDeviceNum": "0",
                    "modelTagNum": "0",
                    "lineId": null,
                    "lineName": null,
                    "lastInspectionDate": null,
                    "inspectionTime": null,
                    "isModelTag": "0",
                    "isModelTagName": "未标记",
                    "isLongitude": "0",
                    "isLongitudeName": "未标记"
                }
            ],
            "pageNum": 1,
            "pageSize": 1,
            "size": 1,
            "startRow": 1,
            "endRow": 1,
            "pages": 67,
            "prePage": 0,
            "nextPage": 2,
            "isFirstPage": true,
            "isLastPage": false,
            "hasPreviousPage": false,
            "hasNextPage": true,
            "navigatePages": 8,
            "navigatepageNums": [
                1,
                2,
                3,
                4,
                5,
                6,
                7,
                8
            ],
            "navigateFirstPage": 1,
            "navigateLastPage": 8
        }
})
// 监控
Mock.mock('/video/videoplatform/listVideoPicture','get',{
        "code": 0,
        "msg": null,
        "data": {
            "total": 4,
            "list": [
                {
                    "id": 53,
                    "name": "人员离岗测试摄像头",
                    "videoNo": "F05694090",
                    "videoTypeId": 1,
                    "videoPlatformId": 9,
                    "paramJson": { "identifyCode": "EVKSCB" },
                    "createTime": "2021-07-26 16:16:01",
                    "updateTime": "2021-07-26 16:16:01",
                    "delFlag": "0",
                    "deptId": 460,
                    "tenantId": 98,
                    "channel": 1,
                    "deptName": null,
                    "deviceTypeName": "DS-2SC3Q120MY-T/GLT",
                    "videoPlatformName": "萤石云平台",
                    "videoPlatformType": 1,
                    "videoLiveAddress": null,
                    "alarmLogResList": null,
                    "faultNumber": 0,
                    "alarmNumber": 0,
                    "videoAnalysisList": null,
                    "deviceStatus": 2,
                    "videoStatus": 1,
                    "supportPlayBack": 1,
                    "videoTypeName": null,
                    "pushScopeId": null,
                    "buildId": 117,
                    "floor": 2,
                    "mark": "583,301",
                    "addressDesc": "展厅",
                    "buildName": null,
                    "videoAlarmTypeList": null,
                    "videoAlarmNameList": null,
                    "lastUploadTime": null,
                    "pic": "https://fastgw-ali.ys7.com/1/capture/2021/8/5/n4eo8yfb3s4f467omhgaxkhs.jpg?Expires=1628233730&OSSAccessKeyId=LTAIzI38nEHqg64n&Signature=4lDr2LVxrgAk6piBXXl0wvzcUYg%3D&bucket=ezviz-fastdfs-gateway",
                    "token": "at.0npzabv4aofypnay1ub74tfq1dsojxu7-92ouad7j32-04b9g7n-gmozmgfz9",
                    "streamType": 0
                },
                {
                    "id": 46,
                    "name": "火焰识别测试摄像头",
                    "videoNo": "E95765661",
                    "videoTypeId": 1,
                    "videoPlatformId": 9,
                    "paramJson": { "identifyCode": "JKLSNR" },
                    "createTime": "2021-05-20 14:19:16",
                    "updateTime": "2021-05-20 14:19:16",
                    "delFlag": "0",
                    "deptId": 460,
                    "tenantId": 98,
                    "channel": 1,
                    "deptName": null,
                    "deviceTypeName": "DS-2SC3Q120MY-T/GLT",
                    "videoPlatformName": "萤石云平台",
                    "videoPlatformType": 1,
                    "videoLiveAddress": null,
                    "alarmLogResList": null,
                    "faultNumber": 0,
                    "alarmNumber": 0,
                    "videoAnalysisList": null,
                    "deviceStatus": 2,
                    "videoStatus": 1,
                    "supportPlayBack": 1,
                    "videoTypeName": null,
                    "pushScopeId": null,
                    "buildId": 117,
                    "floor": 2,
                    "mark": "583,229",
                    "addressDesc": "展厅会议室",
                    "buildName": null,
                    "videoAlarmTypeList": null,
                    "videoAlarmNameList": null,
                    "lastUploadTime": null,
                    "pic": "https://fastgw-ali.ys7.com/1/capture/2021/8/5/1dvkr0f3a6p5aqv6xy2c0t24g.jpg?Expires=1628233730&OSSAccessKeyId=LTAIzI38nEHqg64n&Signature=liOVnSediRQ0UhgB3Lx%2BOtVFlOo%3D&bucket=ezviz-fastdfs-gateway",
                    "token": "at.0npzabv4aofypnay1ub74tfq1dsojxu7-92ouad7j32-04b9g7n-gmozmgfz9",
                    "streamType": 1
                },
                {
                    "id": 64,
                    "name": "火焰测试",
                    "videoNo": "F05694098",
                    "videoTypeId": 1,
                    "videoPlatformId": 9,
                    "paramJson": { "identifyCode": "AQLPHQ" },
                    "createTime": "2021-05-12 17:14:32",
                    "updateTime": "2021-05-12 17:14:32",
                    "delFlag": "0",
                    "deptId": 460,
                    "tenantId": 98,
                    "channel": 1,
                    "deptName": null,
                    "deviceTypeName": "DS-2SC3Q120MY-T/GLT",
                    "videoPlatformName": "萤石云平台",
                    "videoPlatformType": 1,
                    "videoLiveAddress": null,
                    "alarmLogResList": null,
                    "faultNumber": 0,
                    "alarmNumber": 0,
                    "videoAnalysisList": null,
                    "deviceStatus": 2,
                    "videoStatus": 1,
                    "supportPlayBack": 1,
                    "videoTypeName": null,
                    "pushScopeId": null,
                    "buildId": 117,
                    "floor": 2,
                    "mark": "472,209",
                    "addressDesc": "走廊",
                    "buildName": null,
                    "videoAlarmTypeList": null,
                    "videoAlarmNameList": null,
                    "lastUploadTime": null,
                    "pic": "https://fastgw-ali.ys7.com/1/capture/2021/8/5/1qxz6coo38vdzw924jttot62o.jpg?Expires=1628233730&OSSAccessKeyId=LTAIzI38nEHqg64n&Signature=TvKt9G%2BX5d8GUDpGZdYt3hFh4pU%3D&bucket=ezviz-fastdfs-gateway",
                    "token": "at.0npzabv4aofypnay1ub74tfq1dsojxu7-92ouad7j32-04b9g7n-gmozmgfz9",
                    "streamType": 0
                },
                {
                    "id": 43,
                    "name": "消控宝",
                    "videoNo": "uTwEbcJfo27oLyUlkiQE",
                    "videoTypeId": 6,
                    "videoPlatformId": 12,
                    "paramJson": "{}",
                    "createTime": "2021-05-12 17:14:31",
                    "updateTime": "2021-05-12 17:14:31",
                    "delFlag": "0",
                    "deptId": 460,
                    "tenantId": 98,
                    "channel": 1,
                    "deptName": null,
                    "deviceTypeName": "消控宝",
                    "videoPlatformName": "消控宝",
                    "videoPlatformType": 3,
                    "videoLiveAddress": null,
                    "alarmLogResList": null,
                    "faultNumber": 0,
                    "alarmNumber": 0,
                    "videoAnalysisList": null,
                    "deviceStatus": 2,
                    "videoStatus": 1,
                    "supportPlayBack": 1,
                    "videoTypeName": null,
                    "pushScopeId": null,
                    "buildId": 117,
                    "floor": 1,
                    "mark": "226,321",
                    "addressDesc": "展厅消控宝",
                    "buildName": null,
                    "videoAlarmTypeList": null,
                    "videoAlarmNameList": null,
                    "lastUploadTime": null,
                    "pic": null,
                    "token": null,
                    "streamType": 0
                }
            ],
            "pageNum": 1,
            "pageSize": 10,
            "size": 4,
            "startRow": 1,
            "endRow": 4,
            "pages": 1,
            "prePage": 0,
            "nextPage": 0,
            "isFirstPage": true,
            "isLastPage": true,
            "hasPreviousPage": false,
            "hasNextPage": false,
            "navigatePages": 8,
            "navigatepageNums": [
                1
            ],
            "navigateFirstPage": 1,
            "navigateLastPage": 1
        }
    })
// 监控地址
Mock.mock('/video/videodevice/getVideoLiveUrlByDept','get',{
        "code": 0,
        "msg": null,
        "data": {
            "total": 3,
            "list": [
                {
                    "url": "https://hls01open.ys7.com/openlive/c584d864608e4c3d81d1487f9359e506.hd.m3u8",
                    "token": null,
                    "platformType": null,
                    "videoAlarmTypeList": null
                },
                {
                    "url": "https://hls01open.ys7.com/openlive/67939bdd5b3d49cfb36de4b7e51aee5e.m3u8",
                    "token": null,
                    "platformType": null,
                    "videoAlarmTypeList": null
                },
                {
                    "url": "https://hls01open.ys7.com/openlive/67939bdd5b3d49cfb36de4b7e51aee5e.m3u8",
                    "token": null,
                    "platformType": null,
                    "videoAlarmTypeList": null
                }
            ],
            "pageNum": 1,
            "pageSize": 3,
            "size": 3,
            "startRow": 0,
            "endRow": 2,
            "pages": 1,
            "prePage": 0,
            "nextPage": 0,
            "isFirstPage": true,
            "isLastPage": true,
            "hasPreviousPage": false,
            "hasNextPage": false,
            "navigatePages": 8,
            "navigatepageNums": [
                1
            ],
            "navigateFirstPage": 1,
            "navigateLastPage": 1
        }
    })
